<?php
class retrieve_mirror extends retrieve_base{

	private $module_display_options 	= array();
	
	/**
	* function produces abstract structure of modules db structure
	*
    * used to generate the table structure required abstract function that passes an abstract
	* representation of the desired table structure to the proper database module which will
	* interpet the abstract and convert it into a valid SQL Create table structure.
	*
	* @return Array list of abstract table definitions for this module
	*/
	function create_table(){
		$tables = array();
		/**
		* Table structure for table 'user_info'
		*/
		
		$fields = array(
			array("mirror_identifier"		,"unsigned integer"	,"NOT NULL"	,"auto_increment", "key"),
			array("mirror_client"			,"unsigned integer"	,"NOT NULL"	,"default '0'"),
			array("mirror_source"			,"unsigned integer"	,"NOT NULL"	,"default '0'"),
			array("mirror_override_label"	,"varchar(255)"		,""			,"default ''"),
			array("mirror_display_option"	,"varchar(255)"		,""			,"default ''"),
			array("mirror_counter"			,"unsigned integer"	,"NOT NULL"	,"default '0'"),
			array("mirror_all_locations"	,"unsigned integer"	,"NOT NULL"	,"default '0'")
		);
		$primary ="mirror_identifier";
		$tables[count($tables)] = array("mirror_data", $fields, $primary);
		return $tables;
	}
	
}
?>